package org.example.hellomp;

import org.example.hellomp.entity.User;
import org.example.hellomp.mapper.UserMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class test3 {
    @Autowired
    UserMapper userMapper;

    @Test
    public void test01(){
        System.out.println("aa");
        int i = userMapper.deleteById(5);
        System.out.println(i);
    }
    @Test
    public void test02(){
        System.out.println("bbbbbbbbbbbbbbbbbbbbbbbbbbb===============================");
        List<User> users = userMapper.selectList(null);
        System.out.println(users);

    }
}
